package JuegoEstrategia.mapa;

public class SimpleCoord {

	Integer xComponent;
	Integer yComponent;
	
	public SimpleCoord(Integer x, Integer y) {
		xComponent = x;
		yComponent = y;
	}

	public SimpleCoord(int x, int y) {
		xComponent = x;
		yComponent = y;
	}
	
	public Integer x() {
		
		return xComponent;
	}
	
	public Integer y(){
		
		return yComponent;
	}

	public void imprimir() {
		System.out.println("(" + xComponent + ',' +  yComponent + ")");
		
	}
}
